<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <link rel="stylesheet" href="vue.css">
    <style lang='less' scoped></style>
</head>
<body>
    <!-- 第一种dom绑定元素的方法 -->
    <!-- <div id="app">
        {{message}}
    </div>
    
    <script>
        var app = new Vue({
        el: '#app',
        data: {
            message:'helllo vue.'
        }
        })
    </script> -->

    <!-- 第二种绑定元素的方法 -->
    <div id="ele">
        <span v-bind:title="message">
            鼠标悬停几秒钟查看此处动态绑定的提示信息！
        </span>
    </div>
    <script>
        var ele = new Vue(
            {
            el: '#ele',
            data: {
                message: '页面加载于' + new Date().toLocaleString()
            }
        }
        )
    </script>


</body>

</html>